package com.gexiaobao.pigeon.app.model.bean

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

/**
 * @Author      : hxw
 * @Date        : 2024/6/20 15:03
 * @Describe    :
 */
@Parcelize
class UserAuthsInfoResponse(

    val total: Int = 0,
    val list: ArrayList<ListBean> = arrayListOf()

) : Parcelable {

    /**
     * 数据是否为空
     */
    fun isEmpty() = list == null || (list as List<*>).isEmpty()

    @Parcelize
    class ListBean(

        val id: Int = 0,
        val orgId: Int = 0,
        val orgName: String = "",
        val pair: Int = 0,//2-有权限 1-无权限
        val userId: Int = 0,//
        val visitVideo: Int = 0,//2-有权限 1-无权限
        val web: Int = 0,

        ) : Parcelable

}